package com.ihg.hiex.admin.service.account;

import java.util.List;

import com.demo2do.core.entity.page.Page;
import com.ihg.hiex.admin.service.DataService;
import com.ihg.hiex.entity.user.Assessor;

/**
 * 
 * @author Guangli Yan
 *
 */
public interface AssessorService extends DataService<Assessor>{
    
    /**
     * 
     * @param currentSessionId
     * @return
     */
    public List<Assessor> listAssessor(Long currentSessionId);
    
    /**
     * 
     */
    public int countCertificateAssessor();
    
    /**
     * 
     * @param page
     * @return
     */
    public List<Assessor> listCertificateAssessor(Page page);

	/**
	 * create assessor
	 * 
	 * @param assessor
	 */
	public void create(Assessor assessor);
	
	/**
	 * 
	 * @param assessor
	 */
	public void createCertificateAssessor(Assessor assessor, boolean exist);
	
	/**
	 * 
	 * @param assessor
	 */
	public void edit(Assessor assessor);
	
	/**
     * 
     * @param assessor
     */
    public void disable(Assessor assessor);
    
}
